package cn.smbms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import cn.smbms.pojo.User;

@Repository
public interface UserMapper {
	public  User  findByUsercode(User user);//验证登录
	public int addUser(User user);//注册
	public User getUserByUserCode(String userCode);//
	public User getUserByUserId(Integer id);//
	public List<User> getListUser();//列表显示
	public int updateUserByid(User user);//修改用户信息
	public int getDeleteUid(@Param("uid")Integer uid);
	public User getqueryUid(@Param("uid")Integer uid);
}
